﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UniverseGenerator
{
	public abstract class PlanetBuilder
	{
		public Planet buildPlanet()
		{
			Planet p = new Planet();

			setPlanetFunction(p);
			setPlanetType(p);
			setTerrain(p);
			setGravity(p);
			setHydrosphere(p);
			setAtmosphere(p);
			setTemperature(p);
			setLengthOfDay(p);
			setLengthOfYear(p);
			setGovernment(p);
			setPopulation(p);
			setStarport(p);
			setTechLevel(p);

			return p;
		}

		public abstract void setPlanetFunction(Planet p);
		public abstract void setPlanetType(Planet p);
		public abstract void setTerrain(Planet p);
		public abstract void setGravity(Planet p);
		public abstract void setHydrosphere(Planet p);
		public abstract void setAtmosphere(Planet p);
		public abstract void setTemperature(Planet p);
		public abstract void setLengthOfDay(Planet p);
		public abstract void setLengthOfYear(Planet p);
		public abstract void setGovernment(Planet p);
		public abstract void setPopulation(Planet p);
		public abstract void setStarport(Planet p);
		public abstract void setTechLevel(Planet p);

	}

}
